<!--{include file="oui/public/simple-header.html"}-->
<body class="simple_body">
<!--<![endif]-->
<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right"></ul>
        <a class="brand" href="http://www.osadmin.org" target="_blank">
            <span class="first"></span>
            <span class="second"><!--{include file="oui/public/logo.html"}--></span>
        </a>
    </div>
</div>
<!--优雅的离页块-->
<div>
    <div class="container-fluid">
        <div class="row-fluid">
<!--/优雅的离页块-->
            <div class="dialog">
                <div id='error-message-container' class="alert alert-error hidden">
                    <button type="button" class="close" data-dismiss="alert">×</button>
                    <span id="error-message"><!--{$alertMessage}--></span>
                </div>
                <div class="block">
                    <p class="block-heading">登入</p>
                    <div class="block-body">
                        <form id="loginForm" name="loginForm" method="post" action=<!--{Route->MakeHyperLink Controller=':login::logging'}-->>
                            <label>账号</label>
                            <input type="text" class="span12" name="username" required="true" autofocus="true" value=<!--{$_POST.username}-->>
                            <!--优雅的分隔线-->
                            <label>密码</label>
                            <input type="password" class="span12" name="password" required="true" value=<!--{$_POST.password}-->>
                            <!--优雅的分隔线-->
                            <label>验证码</label>
                            <input type="text" name="captcha" class="span4" placeholder="输入验证码" autocomplete="off" required="required" />
                            <a href="#">
                                <img title="验证码" id="verify-code" style="vertical-align:top" src=<!--{Route->MakeHyperLink Controller=':login::captcha'}-->>
                            </a>
                            <!--优雅的分隔线-->
                            <div class="clearfix">
                                <input type="checkbox" name="remember" value="remember-me" /> 记住我
                                <span class="label label-info">一个月内不用再次登入</span>
                                <input type="submit" class="btn btn-primary pull-right" name="loginSubmit" value="登入" />
                            </div>
                        </form>
                    </div>
                </div>
                <p class="pull-right" style=""><a href="http://osadmin.org" target="blank"></a></p>
                </div>
                <!--优雅的分隔线-->
                <script type="text/javascript" src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/login.js></script>
                <script type="text/javascript" src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/oui/lib/bootstrap/js/bootstrap.js></script>